{extend name='admin@main'}

{block name="button"}

{/block}

{block name="content"}
<div class="think-box-shadow">
    <table class="layui-table" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='text-center nowrap'>打卡类型</th>
            <th class='text-center nowrap'>异常类型</th>
            <th class='text-center nowrap'>打卡时间</th>
            <th class='text-center nowrap'>打卡地点详情</th>
            <th class='text-center nowrap'>打卡备注</th>
            <th class='text-center nowrap'>打卡设备id</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr data-dbclick>
            <td class='text-center nowrap'>{$vo.checkin_type|default=''}</td>
            <td class='text-center nowrap'>{$vo.exception_type|default=''}</td>
            <td class='text-center nowrap'>{$vo.checkin_time|format_datetime}</td>
            <td class='text-center nowrap'>{$vo.location_detail|default=''}</td>
            <td class='text-center nowrap'>{$vo.notes|default=''}</td>
            <td class='text-center nowrap'>{$vo.deviceid|default=''}</td>
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>

{/block}
